Helper function keeps giving syntaxError about missing syntax after argument

welcome to shbcf.ru